package com.hot12345.server.DBConnection;

/**
 *  
 * <p>
 * Title:
 * </p>
 * 
 * <p>
 * Description:
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2005
 * </p>
 * 
 * <p>
 * Company:
 * </p>
 * 
 * @author not attributable
 * @version 1.0
 */
public class ConfigeFile {
 
	private String poolName;

	private String driver_class = "";

	private String driverUrl = "";

	private String userName = "";

	private String password = "";

	private int acquire_increment;

	private int max_size;

	private int min_size;

	private int max_statements;

	private int timeout;

	private int idle_test_period;

	private double maxConnTime;

	private int maxConnections;

	private int minConnections;

	private int increment;

	ConfigeFile(String poolName, int maxConnections, int minConnections,
			String userName, String password, String driverUrl, int increment,
			String driver_class) {

		this.poolName = poolName;
		this.maxConnections = maxConnections;
		this.minConnections = minConnections;
		this.increment = increment;
		this.userName = userName;
		this.password = password;
		this.driverUrl = driverUrl;
		this.driver_class = driver_class;

	}

	ConfigeFile() {

	}

	private String logFilePath = "";

	public int getAcquire_increment() {
		return acquire_increment;
	}

	public String getDriver_class() {
		return driver_class;
	}

	public String getDriverUrl() {
		return driverUrl;
	}

	public int getIdle_test_period() {
		return idle_test_period;
	}

	public String getLogFilePath() {
		return logFilePath;
	}

	public int getMax_size() {
		return max_size;
	}

	public int getMax_statements() {
		return max_statements;
	}

	public int getMin_size() {
		return min_size;
	}

	public String getPassword() {
		return password;
	}

	public int getTimeout() {
		return timeout;
	}

	public String getUserName() {
		return userName;
	}

	public String getPoolName() {
		return poolName;
	}

	public double getMaxConnTime() {
		return maxConnTime;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setMin_size(int min_size) {
		this.min_size = min_size;
	}

	public void setMax_statements(int max_statements) {
		this.max_statements = max_statements;
	}

	public void setMax_size(int max_size) {
		this.max_size = max_size;
	}

	public void setLogFilePath(String logFilePath) {
		this.logFilePath = logFilePath;
	}

	public void setIdle_test_period(int idle_test_period) {
		this.idle_test_period = idle_test_period;
	}

	public void setDriverUrl(String driverUrl) {
		this.driverUrl = driverUrl;
	}

	public void setDriver_class(String driver_class) {
		this.driver_class = driver_class;
	}

	public void setAcquire_increment(int acquire_increment) {
		this.acquire_increment = acquire_increment;
	}

	public void setPoolName(String poolName) {
		this.poolName = poolName;
	}

	public void setMaxConnTime(double maxConnTime) {
		this.maxConnTime = maxConnTime;
	}

	
	public void setMinConnections(int minConnections){
		this.minConnections=minConnections;
	}
	
	
	public int getMinConnections(){
		return this.minConnections;
	}
	
	
	public void setMaxConnections(int maxConnections){
		this.maxConnections=maxConnections;
	}
	
	
	public int getMaxConnections(){
		return this.maxConnections;
	}
	
	
	public void setIncrement(int increment){
		this.increment=increment;
	}
	 
	
	public int getIncrement(){
		return this.increment;
	}
}
